<?php
/* @var $this UserRoleController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Users',
);

$this->menu=array(
	array('label'=>'Create User', 'url'=>array('create')),
	array('label'=>'Manage User', 'url'=>array('admin')),
);
?>
<div class="breadcrumbs ace-save-state" id="breadcrumbs">
    <ul class="breadcrumb">
        <li><i class="ace-icon fa fa-home home-icon"></i><a href="<?=$this->createUrl('default/index')?>">首页</a></li>
        <li><a href="<?=$this->createUrl('adminUserRole/index')?>">管理员角色</a></li>
        <li class="active">管理员角色列表</li>
    </ul><!-- /.breadcrumb -->
    <div class="nav-search" id="nav-search">
        <form class="form-search">
            <span class="input-icon">
                <input type="text" placeholder="Search ..." class="nav-search-input" id="nav-search-input" autocomplete="off" />
                <i class="ace-icon fa fa-search nav-search-icon"></i>
            </span>
        </form>
    </div><!-- /.nav-search -->
</div><!-- /.breadcrumbs -->
<div class="page-content">
    <div class="page-header">
        <h1>管理员角色
            <small><i class="ace-icon fa fa-angle-double-right"></i> Admin User Role</small>
            <small>
                <a href="<?=$this->createUrl('adminUserRole/create')?>" class="btn btn-xs"><i class="fa fa-plus"></i> 创建</a>
                <a href="<?=$this->createUrl('adminUserRole/delete')?>" class="btn btn-xs" title="删除" data-pjax="0" data-confirm="真的要删除吗？"><i class="fa fa-trash-o"></i> 删除</a>
            </small>
        </h1>

    </div><!-- /.page-header -->
    <div class="row">
        <div class="col-xs-12">

            <!-- PAGE CONTENT BEGINS -->
            <table id="simple-table" class="table table-bordered table-hover">
                <thead>
                <tr>
                    <th class="center" width="20"><label class="pos-rel"><input type="checkbox" class="ace" name="selection_all" id="selection_all" /><span class="lbl"></span></label></th>
                    <th width="100">ID</th>
                    <th width="150">角色名</th>
                    <th width="">描述</th>
                    <th width="50" class="text-center">状态</th>
                    <th width="125"><i class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i>创建时间</th>
                    <th width="125"><i class="ace-icon fa fa-clock-o bigger-110 hidden-480"></i>更新时间</th>
                    <th width="110">操作</th>
                </tr>
                </thead>
                <tbody>
                <?php $this->widget('zii.widgets.CListView', array(
                    'dataProvider'=>$dataProvider,
                    'itemView'=>'_view',
                )); ?>
                </tbody>
            </table>
            <div class="pagination">

            </div>
                <!-- /.span -->
            <!-- /.row -->
            <!-- PAGE CONTENT ENDS -->
        </div><!-- /.col -->
    </div><!-- /.row -->
</div><!-- /.page-content -->
